#include "string.h"
#include <iostream>
using namespace std;

int main()
{
	String str("jello");
	cout << "The string 'str' is :" << endl;
	str.output();
	
	String str1("world", 6);
	cout << "The string 'str1' is :" << endl;
	str1.output();
	
	String b(str);
	cout << "The copied string 'b' is :" << endl;
	b.output();
	
	str.replace('j', 'h');
	cout << "After replace the string 'str' is :" << endl;
	str.output();
	
	String a( str);
	cout << "The length of 'str' is : " << str.length() << endl;
	cout << "The copied string 'a' is :" << endl;
	a.output();

	
	
	return 0;
}

